.cube-detail-import {
    .form-item {
        padding-left: 20px;
        height: 28px;
        line-height: 28px;

        & > div {
            display: inline-block;
        }
    }

    .form-item1 {
        padding-left: 20px;
        line-height: 28px;

        & > div {
            display: inline-block;
        }
    }

    .wea-form-cell {
        padding-top: 0px;
    }
}

.coms-mode-docker {

    // .wea-browser{
    //     .wea-associative-search:not(.wea-associative-click){
    //         & a{
    //             color: #000!important;
    //         }
    //     }
    // }
    .cube-reply {
        position: relative;

        .cube-reply-content {
            background-color: #fff;
            position: relative;
            box-shadow: 0 0 5px #ddd;
            padding-bottom: 40px;

            .cube-reply-list-placeholder {
                padding: 16px 8px;
                background: #fff;
                border-bottom: 1px solid #e9e9e9;
                text-align: center;
                position: relative;
                z-index: 1;
                font-size: 12px;
                color: #999;
            }

            .ant-pagination {
                float: right;
                margin: 20px;
            }

            .cube-replay-add-popup {
                position: absolute;
                width: 50%;
                right: 0px;
                height: 350px;
                overflow: hidden;
                background: #fff; //box-shadow: 0 1px 6px hsla(0, 0%, 39%, .2);
                box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3);

                &:before {
                    content: "";
                    width: 1px;
                    height: 1px;
                    position: absolute;
                    border-right: 9px solid transparent;
                    border-left: 9px solid transparent;
                    right: 104px;
                }

                &.cube-reply-add-popup-bottom {
                    &:before {
                        bottom: -10px;
                        border-top: 10px solid white;
                    }
                }

                &.cube-reply-add-popup-top {
                    &:before {
                        top: -10px;
                        border-bottom: 10px solid white;
                    }
                }

                .cube-reply-add-popup-btn {
                    position: absolute;
                    right: 20px;
                    bottom: 6px;
                    width: 100%;
                    text-align: right;
                }

                .cube-reply-add {
                    margin: 20px 20px 0px 20px;

                    .wea-rich-text-toolbar-bottom {
                        border: 0px;
                    }
                }
            }

            .cube-reply-list-wrap {
                margin: 0px auto 30px;
                box-sizing: border-box;

                .cube-reply-list {
                    position: relative;
                    border-bottom: 1px dashed #e4e4e4;
                    margin: 10px 20px;

                    .content-top {
                        & > img {
                            width: 48px;
                            height: 48px;
                            border-radius: 50%;
                        }

                        .content-user {
                            display: inline-block;
                            width: e("calc(100% - 68px)");
                            height: 48px;
                            margin-left: 20px;

                            .content-user-name {
                                line-height: 30px;
                                height: 30px;

                                & > a {
                                    color: #000;
                                    font-weight: 500;
                                    font-size: 14px;
                                }
                            }

                            .content-user-date {
                                line-height: 1;
                                height: 18px;
                            }

                            .content-right-btn {
                                float: right;
                                text-align: right;
                                padding-right: 20px;

                                & > button {
                                    border: 0px;
                                    background: transparent;
                                    height: 22px;
                                    margin: 4px 0px;
                                    padding: 0px 8px;
                                }
                            }
                        }
                    }

                    .content-left {
                        float: left;
                        line-height: 36px;
                        width: 180px;
                        margin-left: -169px;
                        padding-left: 48px;

                        & > div {
                            line-height: 24px;
                            padding-right: 10px;
                        }

                        & > img {
                            width: 48px;
                            height: 48px;
                            border-radius: 50%;
                            margin: 5px 0 0 -40px;
                        }
                    }

                    .content-bottom {
                        overflow: hidden;
                        margin: 10px 0px 10px 68px;

                        .content-right-quotes {
                            background-color: #f7fcfd;
                            border: 1px solid #dadada;
                        }

                        .content-right-comments {
                            background-color: #f9f9f9;
                            border-bottom: 1px dotted #e4e4e4;
                        }

                        .content-right-remark-html {
                            margin-top: 5px;

                            ul {
                                display: block;
                                list-style-type: disc;
                                -webkit-margin-before: 1em;
                                -webkit-margin-after: 1em;
                                -webkit-margin-start: 0px;
                                -webkit-margin-end: 0px;
                                -webkit-padding-start: 40px;
                            }
                        }

                        .content-right-comments,
                        .content-right-quotes {
                            padding: 5px 5px 2px;
                            margin-top: 5px;

                            .content-right-other-html {
                                min-height: 24px;
                                color: #929393;

                                ul {
                                    display: block;
                                    list-style-type: disc;
                                    -webkit-margin-before: 1em;
                                    -webkit-margin-after: 1em;
                                    -webkit-margin-start: 0px;
                                    -webkit-margin-end: 0px;
                                    -webkit-padding-start: 40px;
                                }
                            }

                            .content-right-remark-html {
                                min-height: 24px;

                                ul {
                                    display: block;
                                    list-style-type: disc;
                                    -webkit-margin-before: 1em;
                                    -webkit-margin-after: 1em;
                                    -webkit-margin-start: 0px;
                                    -webkit-margin-end: 0px;
                                    -webkit-padding-start: 40px;
                                }
                            }
                        }
                    }
                }
            }

            .wea-tab .ant-menu {
                background: #fff;
            }

            .cube-search-panel {
                background-color: #fff;
                background-clip: padding-box;
                box-shadow: 0 1px 6px hsla(0, 0%, 39%, .2);

                .cube-search-arrow {
                    position: absolute;
                    display: block;
                    width: 0;
                    height: 0;
                    border-color: transparent;
                    border-style: solid;
                    border-width: 5px;
                    border-top-width: 0;
                    border-bottom-color: #d9d9d9;
                    top: 0;

                    &:after {
                        position: absolute;
                        display: block;
                        width: 0;
                        height: 0;
                        border-color: transparent;
                        border-style: solid;
                        content: " ";
                        top: 2px;
                        margin-left: -4px;
                        border-top-width: 0;
                        border-bottom-color: #fff;
                        border-width: 4px;
                    }
                }
            }
        }
    }

    &.coms-mode-card {
        .cube-tabarea {
            background: #ffffff;

            .tab_content {
                & > div {
                    // overflow-x: visible !important;
                }
            }
            .t_area {
                height: 30px;
                border: none;
                background-repeat: repeat-x;
            }

            .t_area div {
                height: 30px;
                border: none;
                float: left;
            }

            .t_area .lineheight30 {
                line-height: 30px;
            }

            .t_area .norepeat {
                background-repeat: no-repeat;
            }

            .t_area .xrepeat {
                background-repeat: repeat-x;
            }

            .t_area .t_sel_middle, .t_unsel_middle {
                letter-spacing: 1px;
                padding-left: 2px;
                padding-right: 2px;
            }

            .t_area .t_sel, .t_unsel {
                cursor: pointer;
            }

            .tab_top {
                height: 32px;
            }

            .tab_top .tab_head {
                height: 100%;
                float: left;
                overflow: hidden;
            }

            .tab_bottom{
                .ant-tabs-bar{
                    display: none;
                }
            }

            .tab_movebtn {
                height: 100%;
                float: left;
                width: 20px;
                cursor: pointer;
            }

            .tab_turnleft {
                background: url("/workflow/exceldesign/image/shortBtn/tab/turnleft_wev8.png") no-repeat 6px 12px;
            }

            .tab_turnright {
                background: url("/workflow/exceldesign/image/shortBtn/tab/turnright_wev8.png") no-repeat 6px 12px;
            }
        }

        .wea-new-top-req-content {
            // margin-top: 1px;
            .cube-card-iframe {
                height: 100%;
                width: 100%;
            }
        }

        .wea-new-top-req {
            .ant-tabs-tab {
                margin-right: 20px;
                color: #555;
            }
        }

        .cube-card-toptabs {
            // margin-top: 10px;
            .ant-tabs-nav-container {
                padding-left: 30px;
                padding-right: 30px;
            }

            .ant-tabs-bar {
                margin-bottom: 0px;
            }

            .ant-tabs-tab-inner {
                font-size: 12px;
                color: #555;
                padding: 8px 16px;
                height: 34px;
            }

            .ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-inner {
                color: #2db7f5;
            }
        }

        .cube-card-inline-wrapper {
            background-color: #f1f1f1;
            overflow-x: hidden;
            overflow-y: auto;
            height: 100%;
        }

        .cube-card-list-wrapper {
            background: #fff;
            height: 100%;
        }

        .cube-card-wrap {
            background-color: #f1f1f1;

            .cube-card-form {
                background-color: #fff;
                position: relative;
                box-shadow: 0 0 5px #ddd;
            }

            .excelMainTable{
                .fieldValue.cube-check-valid[data-fieldattr='1'] .wea-textarea-normal.wea-field-readonly {
                    overflow-y: auto!important;
                }
            }

            .excelMainTable,
            .excelDetailTable {
                border: 0;
                margin: 0;
                padding: 0;
                border-collapse: collapse;
                table-layout: fixed;

                .fieldValue,
                .fieldValue div,
                .fieldValue input,
                .fieldValue span,
                .fieldValue ul,
                .fieldValue li,
                .fieldValue {
                    text-decoration: inherit !important;
                    .wea-upload-imgs-item-v{
                        width: auto!important;
                    }
                    font-size: inherit;
                }

                .fieldValue.cube-check-valid[data-fieldattr='1'] .wea-field-readonly {
                    display: inline-block;
                }
                .fieldValue {
                    a {
                        text-decoration: inherit !important;
                        font-size: inherit;
                    }

                    .icon-coms-position {
                        color: #2db7f5;
                    }

                    .wea-browser.wea-field{
                        .wea-associative-search .ant-select{
                            overflow-y: hidden;
                        }
                    }
                    .wea-browser.wea-field-readonly {
                        display: block;

                        .wea-associative-search.wea-field-readonly {
                            display: block;
                        }

                        .wea-associative-search.wea-field-readonly.mr12, .wea-associative-search.wea-field-readonly.mr15 {
                            margin-right: 0;
                        }
                    }

                    .wea-upload-list-item{
                        .wea-upload-list-item-twoline{
                            .wea-upload-list-item-uploader,.wea-upload-list-item-uploadtime{
                                width: auto;
                            }
                        }
                    }
                }

                .wea-upload .wea-upload-list-item-file .wea-upload-list-item-ops {
                    font-size: 16px;
                }

                .fieldValue {
                    min-height: 28px;
                    line-height: 26px;

                    & > div,
                    & > span {
                        margin: 1px 0px;
                    }

                    .wea-textarea-normal.wea-field-readonly {
                        color: #000;
                        word-break: normal;
                        white-space: normal;
                        overflow-y: scroll;
                    }
                }

                .cube-mutil-content:first-of-type {
                    padding: 7px 0;
                }

                .cube-mutil-content {
                    .fieldValue {
                        & > div,
                        & > span {
                            width: 100% !important;
                        }
                    }
                }

                .ant-calendar-picker-container, .ant-time-picker-panel { //595295处理放大字体下的日历形变问题。
                    font-family: "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif !important;
                    font-size: 12px !important;
                    color: #000000;
                    font-style: normal;
                    font-weight: normal;
                }
            }

            .excelDetailTable {
                min-width: 100%;
                .detail_data_row.interface_hide{
                    display: none !important;
                }
                .detail_data_row:hover{
                    background: #eaf8fe;
                }
                tr {
                    & > td {
                        &:first-child {
                            border-left: 0px !important;
                        }

                        & {
                            border-right: 0px !important;
                        }

                        .wea-browser {
                            width: 90%;
                        }

                        .wea-select {
                            width: 90%;
                            padding-right: 13px;
                        }
                        .wea-select, .wea-upload {
                            .wea-required-e9 {
                                width: 0;
                            }
                        }
                        & > span > div {
                            padding-right: 13px;
                        }
                    }
                }
            }

            .excelMainTable > tbody > tr > td > div > .fieldValue,
            .excelTabTable > tbody > tr > td > div > .fieldValue
            {
                .wea-browser {
                    width: 100%;
                    max-width: 260px;
                    .wea-associative-search .ant-select{
                        overflow-y: hidden;
                    }
                }

                .wea-select {
                    width: 96%;

                    .ant-select {
                        max-width: 248px;
                    }
                }
            }

            .excelMainTable > tbody > tr ,
            .excelTabTable> tbody > tr{
                & > td[style*='text-align: center'], & > td[style*='text-align:center'] {
                    & > div > .fieldValue[data-fieldattr='1'] {
                        .wea-upload-list {
                            display: flex;
                            justify-content: center;
                            flex-wrap: wrap;
                            .wea-upload-list-content {
                                text-align: center;
                            }
                        }
                    }
                }

                & > td[style*='text-align: right'], & > td[style*='text-align:right'] {
                    & > div > .fieldValue[data-fieldattr='1'] {
                        .wea-upload-list {
                            display: flex;
                            justify-content: flex-end;
                            flex-wrap: wrap;
                            .wea-upload-list-content {
                                text-align: right;
                            }
                        }
                    }
                }
            }

            .excelMainTable > tbody > tr > td > div .fieldValue[data-fieldattr='1'],
            .excelTabTable > tbody > tr > td > div .fieldValue[data-fieldattr='1']
            {
                .wea-browser {
                    width: auto;
                    max-width: 100%;
                }

                .wea-select {
                    width: auto;
                    max-width: 92%;
                    .ant-select {
                        max-width: 100%;
                    }
                }

            }

            .excelMainTable > tbody > tr > td:first-of-type .cube-mutil-content .fieldValue[data-fieldattr='1'] ,
            .excelTabTable > tbody > tr > td:first-of-type .cube-mutil-content .fieldValue[data-fieldattr='1']
            {
                & > span { //#577271
                    margin-bottom: -1px;
                    display: block;
                }
            }

            .excelMainTable ,.excelTabTable{
                position: relative;
                background-repeat: no-repeat;
                table-layout: fixed;
            }

            .excelTabTable > tbody > tr > td > div > .fieldValue {
                .wea-browser {
                    width: 100%;
                    max-width: 260px;
                }

                .wea-select {
                    width: 96%;

                    .ant-select {
                        max-width: 248px;
                    }
                }
            }
            @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { 
                .detailButtonDiv { 
                    display: inline-flex;
                } 
            }

            .detailButtonDiv {
                margin-top: 2px;
                float: right;
                text-align: right;

                .icon-coms-Add-to {
                    color: #5cb4ff;
                }

                .icon-coms-form-delete {
                    color: #7a91a6;
                }

                .icon-coms-form-copy {
                    color: #5a9aa6;
                }

                .detailBtn {
                    font-size: 18px;
                    margin: 0 6px;
                    cursor: pointer;
                }
            }

            .error-tip {
                position: absolute;
                top: -31px;
                left: 0;
                display: inline-block;
                padding: 1px 7px;
                line-height: 24px;
                z-index: 1;
                font-size: 12px;
                background-color: #ffebec;
                border-radius: 3px;
                border: 1px solid #ff3e3c;
                color: #666;

                .anticon-exclamation-circle {
                    color: #ff3f3f;
                    font-size: 16px;
                    position: absolute;
                    top: 6px;
                }

                .tip-msg {
                    margin-left: 24px;
                }

                &.tip-bottom {
                    top: 33px;
                }
            }
        }
    }
    .cube-card-form-content{
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        // .cube-form-scroll{
        //     height: 100%;
        //     overflow-x: hidden;
        //     overflow-y: auto;
        //     position: relative;
        // }
    }

}

.wea-cube-muti-input {
    .wea-mode-radio-icon-circle {
        background: #96358a !important;
    }
}

.wea-cube-muti-browser-com {
    width: 200px;
}
/**锁定头部样式*/
.excelDetailTableDiv{
    position: relative;
}

.cube-detail-locked-btnrow{
    .cube-detail-locked-btnrow-table{
        width: 100%;
        border-collapse: collapse;
    }
    .cube-detail-locked-btnrow-content{
        background: #FFFFFF;
    }

    .cube-detail-locked-btnrow-placeholder{
        display: none;
    }
}
.cube-detail-locked-btnrow-fixed{
    .cube-detail-locked-btnrow-content{
        position: fixed;
        z-index: 100;
    }

    .cube-detail-locked-btnrow-placeholder{
        display: block;
    }
}


.excelDetailTableDiv {
    .ant-checkbox + span {
        margin-left: 6px;
        margin-right: 16px;
    }

    .ant-checkbox-wrapper + span {
        margin-left: 0px;
        margin-right: 0px;
    }
    .excelDetailFixedHead,.excelDetailFixedHead_locked{
        display: none;
        overflow: hidden;
        position: fixed;
        background: #fff;
        z-index: 9;
    }
    .excelDetailTableArea_locked{
        position: absolute;
        background: #FFFFFF;
        top: 0px;
        left: 0px;
        z-index: 99;

        .excelDetailContent{
            overflow: hidden !important;
        }
    }
    .excelDetailTable{
        border: 0px;
        margin: 0px;
        padding: 0px;
        border-collapse: collapse;
        page-break-inside: auto;

        tr{
            page-break-inside: avoid;
            page-break-after: auto;
        }
    }
    // .excelDetailContent{
    //     max-height: 500px;
    //     overflow-y: auto;
    //     -ms-overflow-style:-ms-autohiding-scrollbar;
    // }
}

.creply-right-container {

    .cube-sign-input-icon {
        margin-right: 10px;
        margin-left: 10px;
        font-size: 15px;
        color: #AFAFAF;
        line-height: 40px;
        display: inline-block;
        vertical-align: bottom
    }
}

.creply-bottom-btn {
    position: fixed;
    width: 100%;
    bottom: 20px;
}

//卡片必填提示的样式修改
.cube-card-waring {
    .ant-popover-inner {
        min-width: 100px !important;
    }

    .ant-popover-arrow {
        border-color: #ff9a9a;
        border-left-color: transparent;
        border-right-color: transparent;
        border-top-color: #ff9a9a;
        border-bottom-color: #ff9a9a !important;

        &::after {
            border-bottom-color: #ffebec !important;
            top: 2px !important;
        }
    }

    .ant-popover-inner-content {
        border: 1px solid #ff9a9a;
        background: #ffebec;
        border-radius: 6px;
        border-color: #ff9a9a;
        padding: 4px;

        .anticon {
            color: #fe4042 !important;
        }
    }
}

.cube-no-open-reply {
    margin: 25px 65px;
    background: #fff;
    box-sizing: content-box;
    height: 100px;
    text-align: center;
    line-height: 100px;
    color: red;
    font-size: 14px;
    font-weight: 700;
}

.cube-detail-paging {
    background: #FFF;
    position: absolute;
    bottom: 11px;
    bottom: 18px\9;
    right: 5px;

    .ant-pagination {
        float: right;
        margin: 2px 4px;

        .ant-select {
            width: auto;
        }
    }
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { 
    .cube-detail-paging { 
        bottom: 18px;
    } 
}

.fieldValue .wea-date-picker.noInput .ant-calendar-picker {
    width: auto !important;
}

.cube-card-top-wrapper-no-tabs {
    .wea-new-top-req-title-text {
        overflow: visible !important;

        & > div {
            line-height: 40px;
        }
    }
}

.wea-new-top-req-title-text {

    & > div {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.card-table-th-break{
    word-break: break-word !important;
}

.cube-card-select {
    .ant-radio-wrapper,.ant-checkbox-wrapper{
        font-size: inherit;
    }
    .ant-radio-disabled+span,.ant-checkbox-disabled+span {
        color: inherit;
    }
}

.cube-card-toptabs-wrap{
    .wea-alert-page{
        background-color: #fff;
    }
}

.cube-card-preview{
    background: #fff !important;
    .cube-card-wrap{
        padding: 0 !important;
        .cube-card-form {
            background-color: #fff;
            position: relative;
            box-shadow: none !important;
        }
    }
}
.cube-reply-iframe{
    .ant-modal{
        left: calc(~"50% - 450px") !important;
        top: 40% !important;
    }
}

/***/

.Cube-card-WeaSlideModal .rodal-close {
    display: none;
}

.Cube-card-WeaSlideModal .wea-slide-modal-content {
    height: 100%;
}

/**单行文本必填控制*/
.cube-form-input{
    padding-right: 10px;
}

.cube-input-required{
    right: 0;
}



/*** 针对显示布局快速编辑的样式调整  ***/
.cube-card-wrap{ 
    .mode-upload-wrap{
        zoom: 1;
        overflow: auto;
    }
    .cube-card-editformitem{
        .wea-upload {
            // width: 96%;
            // float: left;
            // display: inline-block;
        }
        .editicon{
            margin-left: 5px;
            display: none;
        }
    }
    .mode-upload-wrap{
        .wea-upload {
            width: auto;
        }
    }
    .cube-card-editformitem:hover{
        background: #eee;
        cursor: pointer;
        .editicon{
            margin-left: 5px !important;
            display: inline-block;
        }
    }
    .cube-card-editformitem2{
        .editicon{
            display: none;
        }
    }
    /*明细表按钮*/
    .cube-detailbtn-edit{
        width: 150px;
        min-height: 20px;
        .detailButtonDiv{
            visibility: hidden;
        }
    }
    .cube-detailbtn-edit-tr:hover{
        .cube-detailbtn-edit .detailButtonDiv{
            // .detailButtonDiv{
                visibility: visible;
            // }
        }
    }


}